home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 124 / cd-rom 124.iso / edu / tuxmath / tuxmathscrabble / tuxmathscrabble.exe / Scripts.py2exe / __main__.py next >
Encoding:
Python Source  |  2003-07-26  |  485 b   |  19 lines

  1. #!/usr/local/bin/python
  2. import sys
  3. from asymptopia.tuxmathscrabble import *
  4.  
  5. def help():
  6.     print 'usage: scrabble [1-3] where default = 3'
  7.     print 'level 1  is easiest (Tux generates fewest options)'
  8.     print 'level 3 is most difficult (Tux can generate more complicated options)'
  9.     print 'F1 saves a screenshot to the users home directory (not tested on Windows)'
  10.     print 'Escape = Quit'
  11.  
  12. if __name__=='__main__':
  13.         LEVEL=1
  14.         while LEVEL>0:
  15.             t=TuxMathScrabble(LEVEL)
  16.             LEVEL=t.play()
  17.     
  18.  
  19.